home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
Z-Misc Series
/
(k)zj.d64
/
txt.makescreen
< prev
next >
Wrap
Text File
|
2007-03-01
|
4KB
|
163 lines
╚┼╠╨ ╙├╥┼┼╬ ┼─╔╘╧╥
BY ─ICK ╦LINGENS
─UTCH ├╧═┴╠ ╒SERS ╟ROUP
╔N ├╧═┴╠ ╘╧─┴┘ #15 THERE WAS AN
ARTICLE ABOUT THE USE OF THE PACKAGE
╘┼╪╘. ╔ THERE DESCRIBED HOW TO SAVE
╚┼╠╨ SCREENS ALONG WITH YOUR
PROGRAMS.
╚OWEVER, CREATING SUCH HELP SCREENS
IS SOMETHING ELSE.
╔'LL DESCRIBE TWO POSSIBLE WAYS TO DO
SO. ╞IRST, TYPE THE FOLLOWING PROGRAM
(╙├┴╬ THIS PROCEDURE BEFORE YOU
CONTINUE):
╨╥╧├ TO'FILE(N) ├╠╧╙┼─
╒╙┼ SYSTEM
─╔═ SCREEN$ ╧╞ 1505
GETSCREEN(SCREEN$)
╧╨┼╬ ╞╔╠┼ 9,"SCRN.HELP"+╙╘╥$(N),
╫╥╔╘┼ // WRAP LINE
╫╥╔╘┼ ╞╔╠┼ 9: SCREEN$
├╠╧╙┼
┼╬─╨╥╧├ TO'FILE
╬OW CLEAR THE TEXTSCREEN AND FILL IN
┼─╔╘ MODE THE SCREEN WITH THE HELP
TEXT.
╘HIS WORK HAS TO BE DONE VERY
CAREFULLY, BECAUSE
- YOU CAN NOT NOT USE THE RETURN KEY
- TYPING A CHARACTER IN THE 40TH
COLOMN OF THE SCREEN SOMETIMES
INSERTS A BLANK LINE
- TYPING ON THE 25TH LINE OF THE
SCREEN CAN SCROLL THE SCREEN.
╔N ALL THESE CASES YOU HAVE TO DO THE
WHOLE JOB AGAIN.
╫HEN FINISHED (AT LAST), TYPE IN
BACKGROUND COLOR ON A FREE LINE THE
COMMAND
TO'FILE(1)
AND PRESS <RETURN>. ╘HE SCREEN IS
SAVED NOW.
╥E-EDITING SUCH A SCREEN IS POSSIBLE
BUT YOU CAN DAMAGE YOUR WORK EASILY.
╧F COURSE, WE NEED A ╚┼╠╨ SCREEN
EDITOR:
╘╚┼ ╙┼├╧╬─ ╫┴┘
╔ DEVELOPED SUCH A PROGRAM; IT IS ON
DISK AS ═┴╦┼╙├╥┼┼╬. ├REATING ╚┼╠╨
SCREENS WITH THIS PROGRAM IS MUCH
EASIER. ╘HERE ARE SOME VERY USEFULL
FEATURES IN THE PROGRAM.
╘HE EDITOR STARTS WITH DRAWING A
FRAME AROUND THE SCREEN. ┴FTER
SETTING THE TEXTCOLOR WITH [├TRL] OR
[├=] +[NUMBER] PRESS [├TRL+╞] (╞RAME)
TO REDRAW THE FRAME. [├TRL+╬] (╬O
FRAME) ERASES THE FRAME.
┬ECAUSE THE SCREEN HAS A LOGICAL LINE
LENGTH OF 80 CHARACTERS, TYPING A
CHARACTER SOMETIMES INSERTS A BLANK
LINE (╔ MENTIONED THIS FACT ABOVE).
╘HAT IS WHY THERE IS A SPECIAL WAY TO
PLACE A CHARACTER IN THE 40TH COLOMN
(IN THE FRAME).
╞OR LOGICAL REASONS ╔ USED THE SAME
PROCESS FOR A CHARACTER IN THE 1ST
COLOMN. ╨LACE THE WANTED CHARACTER IN
THE 39TH OR 2ND COLOMN AND PRESS [F6]
OR [F4] AND THE CHARACTER MOVES INTO
ITS RIGHT PLACE.
┬ECAUSE THE ╞RAME AND ╬O FRAME
COMMANDS USE THE 39 COLOMN, THEY
DESTROY THIS COLOMN.
╫ITH THE CURSOR KEYS ONE CAN SET THE
EDIT DIRECTION:
- PRESS [╠EFT] ONCE AND YOU CAN EDIT
FROM RIGHT TO LEFT;
- PRESS [─OWN] AND YOU CAN EDIT FROM
TOP TO BOTTOM;
- [RET] MOVES THE CURSOR TO THE NEXT
LINE WITH NORMAL EDIT DIRECTION.
┴FTER [╥VS╧N] IT IS POSSIBLE TO
CHANGE NORMAL CHARACTERS INTO
REVERSED ONES JUST BY MOVING THE
CURSOR WITH ITS KEYS.
[├TRL+─] AND [├TRL+╠] ARE FOR SAVING
(─UMP) AND ╠OADING A SCREEN INTO OR
FROM DISK.
╫ITH [F1] ONE CAN TEMPORARY STORE A
SCREEN; [F2] RESTORES THAT SCREEN.
┬ORDER AND BACKGROUND COLORS CAN BE
SET WITH [F3] EN [F5]; TEXT COLOR CAN
BE CHANGED WITH THE COLOR KEYS.
╧F COURSE THE PROGRAM HAS ITS OWN
╚┼╠╨ SCREEN SAVED WITH IT. ╔T IS
INVOKED BY PRESSING [F7].
╤UITTING THE PROGRAM IS POSSIBLE IN
TWO WAYS:
- [F8]: QUIT AND SAVE THE ACTUAL
SCREEN INTO THE FILE
'SCRN.SCREENMADE'
- [STOP]: QUIT OR CONTINUE.
╔N THE FILE 'SCRN.ADDINFO' YOU CAN
FIND SOME ADDITIONAL INFORMATION
ABOUT USING ═┴╦┼╙├╥┼┼╬.
'SCRN.MAKEHELP' CONTAINS THE HELP
SCREEN OF THE PROGRAM. ┘OU CAN CHANGE
THIS SCREEN AS YOU LIKE IT.
╔N THE PROGRAM THERE IS A SPECIAL
PROCEDURE TO REPLACE THE ORIGINAL
HELP SCREEN WITH THIS ONE. ╘YPE IN
EDIT MODE:
TO'TEXT
─┼╠┼╘┼ "MAKESCREEN"
╙┴╓┼ "MAKESCREEN"
╔ AM SURE THAT ═┴╦┼╙├╥┼┼╬ MAKES IT
EASIER FOR YOU TO DESIGN YOUR ╚┼╠╨
SCREENS.
┴ FINAL REMARK.
═┴╦┼╙├╥┼┼╬ CAN ALSO SERVE TO CREATE
SCREENS USED AT PROGRAM STARTUP,
ESPECIALLY WHEN THESE SCREENS ARE
DIFFICULT TO BUILD UP IN THE PROGRAM
ITSELF. ┴ DEMO IS ON DISK IN THE FILE
─┼═╧/╙╘┴╥╘.